'use strict';

angular.module("myApp.uiRouteApp", ["ui.router"])
       .config(
       function($stateProvider, $urlRouterProvider){
           $urlRouterProvider.otherwise("TabBar/Page1");
           $stateProvider
               //.state("状态",{url : "URL路径", templateUrl : "html"})
               .state("TabBar",{url : "/TabBar", template : "PageTabBar.html"})

       }
   );